/* 引入封装方法 */
import {get,post} from './index'

/* ============菜单管理============== */
//菜单添加的接口
export const addMenu = (data)=>post('/menuadd',data)
//菜单列表的接口
export const getMenuList = ()=>get('/menulist?istree=true')
//菜单删查接口
export const delMenu = data =>post('/menudelete',data)
//菜单列表一条数据的接口
export const getMenuInfo = (data)=>get('/menuinfo',data)
//菜单编辑的接口
export const editMenu = (data)=>post('/menuedit',data)